QASetNoticeMethod
You can use theQASetNoticeMethod
function to set the notice method of a draw context.
#define QASetNoticeMethod(drawContext, method, completionCallBack, refCon) \ (drawContext)->setNoticeMethod (drawContext, method, completionCallBack, refCon)
drawContext
- A draw context.
method
- A method selector. See "Notice Method Selectors" (page 1-68) for a description of the available method selectors.
completionCallBack
- A pointer to the desired draw context notice method of the specified type. See "Notice Methods" (page 1-147) for information about notice methods.
refCon
- A reference constant for the specified notice method. This value is passed unchanged to the notice method when it is called.
DESCRIPTION
TheQASetNoticeMethod
function sets the notice method of typemethod
of the draw context specified by thedrawContext
parameter to the function pointed to by thecompletionCallBack
parameter.QASetNoticeMethod
also sets the reference constant of that method to the value specified by therefCon
parameter.